<?php
$tblCut         = new Zendvn_File_CutTring();
$home           = $this->home;
    $realLinkH	= FILES_URL . '/about/images450x450/' . $home['picture'];
    if(file_exists($realLinkH)){
        $linkImgH	= FILES_URL . '/about/images450x450/' . $home['picture'];
    }
    else{
        $linkImgH	= FILES_URL . '/about/images450x450/no-image.jpg';
    }
    $picHome 	= '<img title="'. $home['title'] .'" src="'. $linkImgH .'" width="221" height="117" alt="'.$home['title'].'" />';
    $sumHome    = strip_tags($home['description']);
    $sumHome    = $tblCut->cutTring('100', $sumHome, null);
    
$service        = $this->service;
    $realLinkS	= FILES_URL . '/about/images450x450/' . $service['picture'];
    if(file_exists($realLinkS)){
        $linkImgS	= FILES_URL . '/about/images450x450/' . $service['picture'];
    }
    else{
        $linkImgS	= FILES_URL . '/about/images450x450/no-image.jpg';
    }
    $picService 	= '<img title="'. $service['title'] .'" src="'. $linkImgS .'" width="221" height="117" alt="'.$service['title'].'" />';
    $sumService    = $tblCut->cutTring('100', $service['description'], null);
    
$commitment     = $this->comm;
    $realLinkC	= FILES_URL . '/about/images450x450/' . $commitment['picture'];
    if(file_exists($realLinkC)){
        $linkImgC	= FILES_URL . '/about/images450x450/' . $commitment['picture'];
    }
    else{
        $linkImgC	= FILES_URL . '/about/images450x450/no-image.jpg';
    }
    $picCommitment 	= '<img title="'. $commitment['title'] .'" src="'. $linkImgC .'" width="221" height="117" alt="'.$commitment['title'].'" />';
    $sumCommitment    = $tblCut->cutTring('100', $commitment['description'], null);
    
?>
<div class="header">
    <!----Group1 (Start) ------->
    <div class="group-1 width-100 mar-top-10">
        <div class="ctn-box width-32 col-1 float-left">
            <div class="box">
                <div class="box-title"><p>Giới Thiệu</p></div>
                <div class="box-img"><?php echo $picHome; ?></div>
                <div class="box-note">
                    <?php echo $sumHome; ?>
                </div>
                <div class="box-link"><a href="#">Chi tiết</a></div>
            </div>
        </div>
        <div class="ctn-box width-32 col-2 float-left">
            <div class="box">
                <div class="box-title"><p>Dịch Vụ</p></div>
                <div class="box-img"><?php echo $picService; ?></div>
                <div class="box-note">
                    <?php echo $sumService; ?>
                </div>
                <div class="box-link"><a href="#">Chi tiết</a></div>
            </div>
        </div>
        <div class="ctn-box width-32 col-3 float-left">
            <div class="box">
                <div class="box-title"><p>Lời Cam Kết</p></div>
                <div class="box-img"><?php echo $picCommitment; ?></div>
                <div class="box-note">
                    <?php echo $sumCommitment; ?>
                </div>
                <div class="box-link"><a href="#">Chi tiết</a></div>
            </div>
        </div>
    </div>
    <!----Group1 (End) ------->
</div>
<!--------------------HEADER (End) ------------------------>

<div class="clear"></div>

<!--------------------Content(Start) ----------------------->
<?php echo $this->BlkNewProducts(); ?>
<!--------------------Content (End) ------------------------->